Parsely\Models\Smart_Link D

Total Complexity 127
Dependencies 6
Dependents 4
Total lines 1,255
Lines of code 595
Logical lines of code 291
Comment lines 491
Methods 38
Properties 15

Methods 38

Method Rating Maintainability Complexity Lines of code
get_smart_links()
A
37 14 75
load()
A
42 14 50
save()
A
40 12 65
get_link_counts()
A
42 5 61
set_source_post_id()
S
55 6 21
get_smart_link_object_by_uid()
S
49 5 33
get_status()
S
58 6 15
get_inbound_smart_links()
S
53 5 25
flush_cache_by_post_id()
S
56 5 17
deserialize()
S
56 4 18
set_destination_post()
S
58 4 16
set_status()
S
64 4 9
__construct()
S
60 3 14
exists()
S
61 3 14
get_link_href()
S
59 3 14
delete()
S
60 3 14
get_string_meta()
S
68 3 7
flush_all_cache()
S
67 3 9
get_int_meta()
S
64 3 10
to_array()
S
52 1 26
set_destination_post_id()
S
69 2 7
set_href()
S
69 2 7
get_smart_link_by_id()
S
67 2 8
get_outbound_smart_links()
S
64 1 11
get_smart_links_post_cache_group()
S
78 1 3
get_smart_link_counts_cache_key()
S
79 1 3
get_smart_links_for_post_cache_key()
S
78 1 3
get_uid_to_smart_link_cache_key()
S
79 1 3
flush_cache()
S
75 1 4
get_smart_link()
S
68 1 7
update_uid()
S
80 1 3
generate_uid()
S
77 1 3
set_context()
S
81 1 3
get_context()
S
82 1 3
is_applied()
S
80 1 3
load_post_meta()
S
76 1 4
set_source_post()
S
76 1 4
set_uid()
S
81 1 3